ExamPlay Dark Logo
Logga in

Computer Science for IGCSE & O level - Software (Section 12 - No. 34)

Which statement best describes the difference between an interpreter and a compiler?
Both translate the entire program before running it.
A compiler translates the entire program at once, whereas an interpreter translates and executes the code line by line.
An interpreter is used to generate machine code, while a compiler is used for debugging.
Both translate and execute the source code line by line.

Förklaring

The key difference is that the compiler translates the entire program before execution, whereas an interpreter translates and executes code line by line.

Kommentarer (0)

Logga in för att kommentera
Annons
BrainBehindX Inc Logo
©2026; Drivs av BrainBehindX Inc